package com.briup.day11;

/**
 * @author 谭梦寻
 * @version 1.1
 */
abstract class A {
    abstract void show();
}
class B extends A {
    void show() {
        System.out.println("B");
    }
}
public class Main {
    public static void main(String[] args) {
        A a = new B();
        a.show();
    }
}
